﻿using System;
namespace Producers.Ehma10000000.Xtee.Riik.Ee.Producer.Ehma10000000.Messages {
    
    
    public partial class EhmaManusegaVastusMessage : global::Producers.Ehma10000000.Xtee.Riik.Ee.Producer.Ehma10000000.Messages.IEhmaManusegaVastusMessage {
        
        private global::Producers.Ehma10000000.Xtee.Riik.Ee.Producer.Ehma10000000.IEhmaParinguVahemik @__paring;
        
        private global::Producers.Ehma10000000.Xtee.Riik.Ee.Producer.Ehma10000000.IEhmaManusegaValjund @__keha;
        
        private byte[] @__attachment;
        
        public EhmaManusegaVastusMessage() {
        }
        
        /// <summary>
        /// All parameters
        /// </summary>
        public EhmaManusegaVastusMessage(global::Producers.Ehma10000000.Xtee.Riik.Ee.Producer.Ehma10000000.IEhmaParinguVahemik @paring, global::Producers.Ehma10000000.Xtee.Riik.Ee.Producer.Ehma10000000.IEhmaManusegaValjund @keha, byte[] @attachment) {
            this.@__paring = @paring;
            this.@__keha = @keha;
            this.@__attachment = @attachment;
        }
        
        /// <summary>
        /// Copy Constructor
        /// </summary>
        protected EhmaManusegaVastusMessage(IEhmaManusegaVastusMessage @ehmaManusegaVastusMessage) {
            this.@__paring = @ehmaManusegaVastusMessage.Paring;
            this.@__keha = @ehmaManusegaVastusMessage.Keha;
            this.@__attachment = @ehmaManusegaVastusMessage.Attachment;
        }
        
        public virtual global::Producers.Ehma10000000.Xtee.Riik.Ee.Producer.Ehma10000000.IEhmaParinguVahemik Paring {
            get {
                return this.@__paring;
            }
            set {
                this.@__paring = value;
            }
        }
        
        public virtual global::Producers.Ehma10000000.Xtee.Riik.Ee.Producer.Ehma10000000.IEhmaManusegaValjund Keha {
            get {
                return this.@__keha;
            }
            set {
                this.@__keha = value;
            }
        }
        
        public virtual byte[] Attachment {
            get {
                return this.@__attachment;
            }
            set {
                this.@__attachment = value;
            }
        }
    }
}
